package com.wz.project.api.sap.service;

import com.wz.project.api.barcode.domain.MatnrInfo;
import com.wz.project.sap.CUSTOMER.domain.ZflWmsGetCustomer;
import com.wz.project.sap.DN.domain.ZflWmsGetDn;
import com.wz.project.sap.MATERIAL.domain.ZflWmsGetMaterial;
import com.wz.project.sap.PRO_LIST_DNLIST.domain.YppRfcGetWmsProListDnlist;
import com.wz.project.sap.PRO_LIST_PRDLIST.domain.YppRfcGetWmsProListPrdlist;
import com.wz.project.sap.VENDOR.domain.ZflWmsGetVendor;

import java.util.List;

public interface SapService {
    /**
     * 插入物料表
     * @param zflWmsGetMaterial
     */
    void insertProduct(ZflWmsGetMaterial zflWmsGetMaterial);

    /**
     * 插入供应商表
     * @param zflWmsGetVendor
     */
    void insertSupplier(ZflWmsGetVendor zflWmsGetVendor);
    /**
     * 插入客户表
     * @param zflWmsGetCustomer
     */
    void insertCustomer(ZflWmsGetCustomer zflWmsGetCustomer);

    /**
     * 插入入库单据
     * @param yppRfcGetWmsProListPrdlist
     */
    void insertInstockin(YppRfcGetWmsProListPrdlist yppRfcGetWmsProListPrdlist);

    /**
     * 插入入库子单
     * @param yppRfcGetWmsProListDnlist
     */
     void insertInstockinDetail(YppRfcGetWmsProListDnlist yppRfcGetWmsProListDnlist);

    /**外向交货单
     * 插入出库单
     * @param zflWmsGetDn
     */
     void insertOutStockout(ZflWmsGetDn zflWmsGetDn,List<MatnrInfo> matnrInfoList);
    /**
     * 内向交货单
     * 插入入库单
     */
    void insertInStockinDN(ZflWmsGetDn zflWmsGetDn,List<MatnrInfo> matnrInfoList);
}
